﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Gnosis.Babel;

namespace Gnosis.SQLite.Predicates
{
    public class Between
        : Predicate
    {
        public Between(INumeric expression, INumeric start, INumeric end)
            : base("BETWEEN", expression, new And(start, end))
        {
        }

        public Between(IDateTime expression, IDateTime start, IDateTime end)
            : base("BETWEEN", expression, new And(start, end))
        {
        }
    }
}
